﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using clf.weighing.entity;

namespace weighing
{
    /// <summary>
    ///  称重 订单流水
    /// </summary>

    public class WeighingOrderWaterVo : BaseVo
    {
        #region Constract
        public WeighingOrderWater mWeighingOrderWater;
        public WeighingOrderWaterVo(WeighingOrderWater weighingOrderWater)
        {
            mWeighingOrderWater = weighingOrderWater;
        }
        #endregion



        public Int64 Id
        {
            get
            {
                return mWeighingOrderWater.id;
            }
            set
            {
                mWeighingOrderWater.id = value;
                OnPropertyChanged(this, nameof(Id));
            }
        }

        /// <summary>
        /// 注释:订单号
        /// 可空:YES
        /// </summary>

        public String OrderNumber
        {
            get
            {
                return mWeighingOrderWater.orderNumber;
            }
            set
            {
                mWeighingOrderWater.orderNumber = value;
                OnPropertyChanged(this, nameof(OrderNumber));
            }
        }

        /// <summary>
        /// 注释:类型(0:其它,1:补货,2扣除）
        /// 可空:YES
        /// 默认值:0
        /// </summary>

        public Int32? Type
        {
            get
            {
                return mWeighingOrderWater.type;
            }
            set
            {
                mWeighingOrderWater.type = value;
                OnPropertyChanged(this, nameof(Type));
            }
        }

        /// <summary>
        /// 注释:变量
        /// 可空:YES
        /// 默认值:0.000
        /// </summary>

        public Decimal? Total
        {
            get
            {
                return mWeighingOrderWater.total;
            }
            set
            {
                mWeighingOrderWater.total = value;
                OnPropertyChanged(this, nameof(Total));
            }
        }


        public DateTime? AddTime
        {
            get
            {
                return mWeighingOrderWater.addTime;
            }
            set
            {
                mWeighingOrderWater.addTime = value;
                OnPropertyChanged(this, nameof(AddTime));
            }
        }


        public Int32? IsDelete
        {
            get
            {
                return mWeighingOrderWater.isDelete;
            }
            set
            {
                mWeighingOrderWater.isDelete = value;
                OnPropertyChanged(this, nameof(IsDelete));
            }
        }


        public DateTime? DeleteTime
        {
            get
            {
                return mWeighingOrderWater.deleteTime;
            }
            set
            {
                mWeighingOrderWater.deleteTime = value;
                OnPropertyChanged(this, nameof(DeleteTime));
            }
        }

        /// <summary>
        /// 注释:说明
        /// 可空:YES
        /// </summary>

        public String Description
        {
            get
            {
                return mWeighingOrderWater.description;
            }
            set
            {
                mWeighingOrderWater.description = value;
                OnPropertyChanged(this, nameof(Description));
            }
        }

    }
}
